home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dirut
/
filmatch.zip
/
FILMATCH.DOC
< prev
next >
Wrap
Text File
|
1991-09-03
|
5KB
|
148 lines
FILMATCH.EXE Copyright (c) 1991 by Warrick Wilson
Overview
--------
This shareware utility checks a list of filenames against a specified
sequence of subdirectories. If a file in the list is missing from a
subdirectory, FILMATCH produces a message. The size, and optionally date
and time, of each file is checked in each of the subdirectories. If
a difference is found, FILMATCH displays a warning and a summary of the
differences found.
NOTE: FILMATCH ALWAYS checks the size. You may specify date and/or
time checking using command line arguments (described later).
FILMATCH does NOT attempt to verify that the contents of the files
are the same. It uses the size, date and time information only.
FILMATCH is useful when you need to know that certain files are the
same across network drives or between diskettes and a hard disk.
Install programs can benefit from this utility.
Licence Stuff
-------------
The programs and documentation in this archive are
Copyright (c) 1991 by Warrick Wilson
No guarantee is made as to the functionality of this software. It has
been tested and found to do what I claim it does. There are limitations
and environments that I can't test. Some are described later. If
FILMATCH doesn't do what you want, don't keep it and send no money.
If you do try it and find that it doesn't work, I would appreciate
knowing about it. Drop me a line at the address below and give me
the specifics. Maybe there's something I can do in a later release.
Registration details are listed at the end of this file.
Invoking FILMATCH
-----------------
The command line arguments are:
FILMATCH [-dt] <listname> <dir1> <dir2> [dir3 ...]
-dt if present, d causes matches on dates
t causes matches on times
listname name of the file containing the filenames to check
for, listed one per line. Wild cards are not
permitted.
Example:
run.bat c:\run.bat
myprog.exe NOT d:\bin\*.exe
myprog.doc === myprog.*
dir1 master subdirectory that all sizes, dates and times
are based on
dir2, etc. other subdirectories to match against
Examples:
---------
FILMATCH a:\files.lst a:\ c:\
This command verifies that all files in the file A:\FILES.LST
are found on both A:\ and C:\. The comparison is based on size
only. The size will be taken from the file in A:\.
FILMATCH -t a:\files.lst a:\ c:\
This command is the same as the command above, but comparisons
between files are done on size and time.
FILMATCH -dt x:\network\project\files.lst x:\network c:\project
This command forces comparisons between size, date and time.
Each file found in the X:\NETWORK\PROJECT\FILES.LST file will
be searched for in X:\NETWORK and C:\PROJECT. If the file size,
date or time in C:\PROJECT differs from the corresponding value
in X:\NETWORK, FILMATCH will display an error message.
Return Values
-------------
If arguments are incorrect, FILMATCH displays a warning message.
Errors in matching are displayed also.
FILMATCH returns a DOS errorlevel of 0 if no differences are found.
The errorlevel is 1 or greater when errors are found. This means
that you may use FILMATCH in a batch file and check a copying step,
for example.
Supported Environments
----------------------
FILMATCH has been used successfully over an IBM Token Ring Network.
It has been tried on a TOPS network also, but it didn't work. Since
I can't figure out why it didn't work, I suggest not using over a
TOPS network.
FILMATCH should work well on any version of DOS greater than 2.0.
Registration
------------
FILMATCH is a shareware product. You are free to make copies of FILMATCH
and distribute them to your friends and BBSs, provided you include all
program and documentation files unchanged.
The registration fee for FILMATCH is $5.00. Site licences, which count as
20 or more copies, are $100.00. Send registration fees to:
Warrick Wilson
40 Ellis Crescent North
Waterloo, Ontario
Canada N2J 3G4
519-725-3610 after 6 p.m. Eastern Time
See the file INVOICE.DOC for complete registration information.
Shareware authors who are interested in distributing FILMATCH as part
of their product should contact the above address to negotiate
licensing arrangements.
Thank you for your interest in FILMATCH!